bbdf578539e69acf1330cfb961d4b60c75ab26b2,greenmail-core/src/test/java/com/icegreen/greenmail/test/ImapServerTest.java,ImapServerTest,testQuotaCapability,#,186

Before Change


    public void testQuotaCapability() throws MessagingException {
        greenMail.setUser("foo@localhost", "pwd");
        greenMail.setQuotaSupported(false);
        final IMAPStore store = (IMAPStore) greenMail.getImap().createStore();
        try {
            store.connect("foo@localhost", "pwd");

After Change


    public void testQuotaCapability() throws MessagingException {
        greenMail.setUser("foo@localhost", "pwd");
        greenMail.setQuotaSupported(false);
        final IMAPStore store = greenMail.getImap().createStore();
        try {
            store.connect("foo@localhost", "pwd");